package com.sahala.downimage.client;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import com.sahala.downimage.service.IDownImageService;

public class DownImageClient {
	
	public static void main(String[] args) {
		ClassPathXmlApplicationContext context  = new ClassPathXmlApplicationContext(
				"spring-all.xml");
		IDownImageService downImageService =(IDownImageService) context.getBean("downImageService");
		
		downImageService.downloadImage();
	}
}
